
export const formItems = [
  {
    filed: 'title',
    type: 'input',
    label: '标题名称'
  },
  {
    filed: 'type',
    type: 'select',
    label: '消息类型',
    options: [
      { label: '商户消息', value: '1' },
      { label: '场馆消息', value: '2' },
      { label: '小程序消息', value: '3' }
    ]
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
export const rules = {
  title: [{ required: true, message: '请输入', trigger: 'blur' }],
  content: [{ required: true, message: '请输入', trigger: 'blur' }],
  type: [{ required: true, message: '请选择', trigger: 'change' }],
  shopIds: [{ type: 'array', required: true, message: '请选择', trigger: 'change' }],
  recipients: [{ type: 'array', required: true, message: '请选择', trigger: 'change' }],
}
